Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NItemsControl Class / SaveToXml Method / SaveToXml(Stream,Type[]) Method
A Type array of additional object types to serialize.


In This Topic
    SaveToXml(Stream,Type[]) Method
    In This Topic
    Save the current content to the gives stream.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function SaveToXml( _
       ByVal stream As System.IO.Stream, _
       ByVal extraTypes() As System.Type _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NItemsControl
    Dim stream As System.IO.Stream
    Dim extraTypes() As System.Type
    Dim value As System.Boolean
     
    value = instance.SaveToXml(stream, extraTypes)
    public virtual System.bool SaveToXml( 
       System.IO.Stream stream,
       System.Type[] extraTypes
    )

    Parameters

    stream
    extraTypes
    A Type array of additional object types to serialize.

    Return Value

    True if operation was successful, false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also